﻿CREATE PROCEDURE [dbo].[Tournaments_Update]
   @league_id uniqueidentifier,
   @tournament_name nvarchar (40),
   @starts_on datetime,
   @ends_on datetime
AS
UPDATE [dbo].[Tournaments]
   SET [starts_on] = @starts_on,
       [ends_on] = @ends_on
 WHERE [league_id] = @league_id
       AND [tournament_name] = @tournament_name


